package com.cqgc.pojo.dto.UserDTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

/**
 * @author : 是你
 * @time : 2024/4/19 19:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateUserDTO {
//    private int uid;
//    private LocalDateTime UpdateTime;
    private String nickName;
    @Pattern(regexp = "^1[3-9]\\d{9}$")
    private String phone;
}
